#include "matm.h"
#include "Color.h"

#pragma once
class Sphere
{
public:
	vec3 Position;
	vec3 Scale;
	Color Color;
	float KAmbient;
	float KDiffuse;
	float KSpecular;
	float KR;
	float ShininessFactor;

	mat4 transformMatrix;
	mat4 transformMatrixInverse;

	void computeTransformMatrix()
	{
		transformMatrix=Translate(Position)*::Scale(Scale);;
		InvertMatrix(transformMatrix,transformMatrixInverse);
	}
};

